*{
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    background: rgba(156,89,100,.2);
}

body {
    position: relative;
    margin: 0 auto;
    width: 900px;
    height: 90%;
}

.container{
    display: flex;
    width: 100%;
    height: 100%;
}

.common{
    width: 80px;
    height: 100%;
    background: antiquewhite;
}

.common .userIcon{
    margin: 20px auto;
    width: 50px;
    height: 50px;
    border: 1px solid darkcyan;
}
.common .userIcon img{
    width: 50px;
    height: 50px;
}
.userList{
    width: 220px;
    height: 100%;
    background: aquamarine;
}

.user{
    line-height: 30px;
    background: aliceblue;
    text-align:center;
    font-size: 16px;
}

.userList .users{
    height: 40px;
    display: flex;
    background: darkcyan;
}
.userList .users .users_img{
    width: 38px;
    height: 38px;
    border: 1px solid #caa;
}
.userList .users .users_img img{
    width: 40px;
    height: 40px;
}
.userList .users .users_nickname{
    line-height: 40px;
    font-size: 18px;
    text-align: left;
    padding-left: 10px;
}

.userList .userItem{
    overflow: auto;
}
.userItem::-webkit-scrollbar {
    width: 4px;
    /*height: 4px;*/
}
.userItem::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.2);
}
.userItem::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 0;
    background: rgba(0,0,0,0.1);

}
.chat{
    width: 600px;
    height: 100%;
    background: bisque;

}
.chat .content{
    overflow: auto;
}
.content::-webkit-scrollbar {
    width: 4px;
    /*height: 4px;*/
}
.content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.2);
}
.content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 0;
    background: rgba(0,0,0,0.1);

}
.other{
    /*width: 100px;*/
    display: flex;
    /*height: 70px;*/
    background: azure;
}
.other .img{
    width: 48px;
    height: 48px;
    border: 1px solid #dea;
}
.other img{
    width: 48px;
    height: 48px;
}
.other .right{
    /*width: 30px;*/
    /*height: 30px;*/
    border: 1px solid #dea;
    background: #ddeeaa;
}
.other .right .nickname{
    padding-left: 10px;
    border: 1px solid #dea;
    background: #ddeeaa;
}
/*=========*/
.own{
    flex-direction: row-reverse;
    /*width: 100px;*/
    display: flex;
    /*height: 70px;*/
    background: azure;
}
.own .img{
    /*padding-top: 10px;*/
    width: 50px;
    height: 50px;
    border: 1px solid #dea;
}

.own img{
    /*padding-top: 10px;*/
    width: 48px;
    height: 48px;
    border: 1px solid #dea;
}
.own .left{
    /*width: 30px;*/
    /*height: 30px;*/
    border: 1px solid #dea;
    background: #ddeeaa;
}
.own .left .nickname{
    padding-left: 10px;
    border: 1px solid #dea;
    background: #ddeeaa;
}
.system{
    text-align: center;
}
.system span{
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
    color: azure;
    background: #ddd;
}
.userName{
    height: 45px;
    background: aquamarine;
    font-size: 18px;
    line-height: 45px;
    padding-left: 20px;
}
.content{
    height: 72%;
    background: aqua;
}